package cn.tedu.ivos.base.config;

import cn.hutool.bloomfilter.BitMapBloomFilter;
import cn.hutool.bloomfilter.BloomFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FilterConfig {
    @Bean
    public BloomFilter bloomFilter(){
        BitMapBloomFilter filter=
                new BitMapBloomFilter(500);
        return filter;
    }
}
